﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using Entity;
using System.Data;

namespace Controller
{
    public partial class Controller_Statistics : Component
    {
        Entity_Statistics ent_stat = new Entity_Statistics();
        public Controller_Statistics()
        {
            InitializeComponent();
        }

        public Controller_Statistics(IContainer container)
        {
            container.Add(this);

            InitializeComponent();
        }
        public DataSet Thongke_DoanhThu_Ngay(int ngay, int thang, int nam)
        {
            return ent_stat._Thongke_DoanhThu_Ngay(ngay, thang, nam);
        }

        public DataSet Thongke_DoanhThu_Thang(int thang, int nam)
        {
            return ent_stat._Thongke_DoanhThu_Thang(thang, nam);
        }
        public DataSet TK_SoPhong_theoNgay(int ngay, int thang, int nam)
        {
            return ent_stat._TK_Sophong_theoNgay(ngay, thang, nam);
        }
    }
}
